package cn.legend.travel.destination.main.dao.persist.repository.impl;

import cn.legend.travel.destination.main.dao.persist.mapper.DelicacyMapper;
import cn.legend.travel.destination.main.dao.persist.repository.IDelicacyRepository;
import cn.legend.travel.destination.main.pojo.vo.DelicacyVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public class DelicacyRepository implements IDelicacyRepository {
    @Autowired
    private DelicacyMapper delicacyMapper;
    @Override
    public List<DelicacyVO> selectBydestinationId(Long destinationId) {
        return delicacyMapper.selectBydestinationId(destinationId);
    }
}
